package com.steakliu.sun.buffer.disuptor;

import com.lmax.disruptor.EventHandler;

/**
 * 功能说明：
 * <p>
 * Original @Author: steakliu-刘牌, 2023-02-09  16:01
 * <p>
 * Copyright (C)2020-2022  steakliu All rights reserved.
 */
public class DataEventHandler<T> implements EventHandler<DataEvent<T>> {
    @Override
    public void onEvent(DataEvent<T> event, long sequence, boolean endOfBatch) throws Exception {
        System.out.println("event : "+event);
    }
}
